<template>
	<view class="content">
		
			{{title}}
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'my..'
			}
		},
		onLoad() {
			switch(uni.getSystemInfoSync().platform){
				case 'android':
					this.$data.title = "运行在android上"
					// console.log("运行在android上")
					break;
				case 'ios':
					this.$data.title = "运行在ios上"
					// console.log("运行在ios上")
					break;
				default:
					this.$data.title = "运行在开发者工具上"
					// console.log('运行在开发者工具上')
					break;
			}
		},
		methods: {
		
		}
	}
</script>

<style>

</style>
